package org.nmgyjt.springboot.beans.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel("用户查询对象")
@Data
public class CsSystemUserstatisticBean {

    @ApiModelProperty(required = false, value = "管理员姓名", dataType = "string")
    private String name;

    //@NotEmpty(message = "添加人员单位/组织名称为必填项")
    @ApiModelProperty(required = false, value = "管理员的单位/组织名称", dataType = "string")
    private String orgName;

   // @NotEmpty(message = "管理员的职务为必填项")
    @ApiModelProperty(required = false, value = "管理员的职务", dataType = "string")
    private String job;

    @ApiModelProperty(required = false, value = "管理员的科室/机构下的内设机构", dataType = "string")
    private String office;

    @ApiModelProperty(required = false, value = "手机号码", dataType = "string")
    private String phone;

    @NotEmpty(message = "前端传参菜单ID不允许为空")
    @ApiModelProperty(required = true, value = "菜单名称", dataType = "string")
    private String menuID;

    @ApiModelProperty(required = true, value = "菜单名称", dataType = "string")
    private String menuName;

    @ApiModelProperty(required = false, value = "", dataType = "string")
    private Integer isLeader = 0;

    @NotEmpty(message = "管理员账号不允许为空")
    @ApiModelProperty(required = true, value = "管理员手机号码", dataType = "string")
    private String createdBy;

    @ApiModelProperty(required = false, value = "专家类型", dataType = "string")
    private String type;
}
